package com.xinqing.bigdata.flink.datastream.model;


/**
 * @Author:CHQ
 * @Date:2021/6/3 10:30
 * @Description
 */
public class UserCostDetail {

    private String ymd;
    private String udid;
    private Double costMoney;
    private int costNum;
    private Long timestamp;

    public UserCostDetail(String ymd, String udid, Double costMoney, int costNum, Long timestamp) {
        this.ymd = ymd;
        this.udid = udid;
        this.costMoney = costMoney;
        this.costNum = costNum;
        this.timestamp = timestamp;
    }

    public String getYmd() {
        return ymd;
    }

    public void setYmd(String ymd) {
        this.ymd = ymd;
    }

    public String getUdid() {
        return udid;
    }

    public void setUdid(String udid) {
        this.udid = udid;
    }

    public Double getCostMoney() {
        return costMoney;
    }

    public void setCostMoney(Double costMoney) {
        this.costMoney = costMoney;
    }

    public int getCostNum() {
        return costNum;
    }

    public void setCostNum(int costNum) {
        this.costNum = costNum;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "UserCostDetail{" +
                "ymd='" + ymd + '\'' +
                ", udid='" + udid + '\'' +
                ", costMoney=" + costMoney +
                ", costNum=" + costNum +
                ", timestamp=" + timestamp +
                '}';
    }
}
